package com.thread.volatiledemo;

/**
 * @Author milian
 * @Date 2021/7/30 0030 10:52
 */

public class demo1 {
    public static void main(String[] args) {
        MyThreadDemo myThreadDemo = new MyThreadDemo();
        myThreadDemo.setName("小皮");
        myThreadDemo.start();
        MyThreadDemo2 myThreadDemo2 = new MyThreadDemo2();
        myThreadDemo2.setName("小夹");
        myThreadDemo2.start();




    }
}
